<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>学生管理登录</title>
    <link rel="stylesheet" href="../css/login.css">
    <script src="../js/jquery.js"></script>
    <script src="../js/common.js"></script>
    <script src="../js/login.js"></script>
</head>
<body>
<div class="login">
    <div>
        <div>
            <div>账号:</div>
            <div><input type="text" id="userCode" name="userCode"></div>
        </div>
        <div>
            <div>密码:</div>
            <div><input type="password" id="password" name="password"></div>
        </div>
        <div>
            <div>验证码:</div>
            <div><input type="text" id="code" name="code" style="width: 50px; margin-right: 20px" pattern="^\w{4}" maxlength="4"></div>
            <div><img src="http://localhost:8080/code/checkCode" id="codeImage" onclick="flushCode(this)"></div>
        </div>
        <div class="login-button">
            <div><input type="button" value="登录" onclick="login()"></div>
            <div><a href="/html/register.html"><input type="button" value="注册"></a></div>
        </div>
    </div>
</div>
</body>
</html>